class CreateBills < ActiveRecord::Migration
  def self.up
    create_table :bills do |t|
       t.column :amount, :float
       t.column :description, :String
       t.column :date, :timestamp
       t.column :user_name, :String
       t.column :flag,:Integer
       t.column :month_year, :String
       t.column :bill_date,:timestamp
      t.timestamps
    end
  end

  def self.down
    drop_table :bills
  end
end
